package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfChannelInfo;
import com.ocom.common.entity.master.EntityPayChannel;
import com.ocom.common.request.payconfig.AddConfigureInfoRequest;
import com.ocom.common.request.payconfig.DeleteConfigureInfoRequest;
import com.ocom.common.request.payconfig.GetConfigureInfoRequest;
import com.ocom.common.request.payconfig.UpdateConfigureInfoRequest;
import com.ocom.common.request.web.OneConfigureInfoRequest;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.pay.GzhPayVo;

import java.util.List;

//付通道配置信息
public interface XfChannelInfoService extends IService<EntityXfChannelInfo> {

	List<EntityXfChannelInfo> getConfigureList(Long companyId, GetConfigureInfoRequest request);



	EntityXfChannelInfo OneConfigureInfo(Long companyId, OneConfigureInfoRequest request);

	EntityXfChannelInfo addConfigureInfo(Long companyId, AddConfigureInfoRequest request);

	EntityXfChannelInfo updateConfigureInfo(Long companyId, UpdateConfigureInfoRequest request);

	boolean deleteConfigureInfo(Long companyId, DeleteConfigureInfoRequest request);


	Result getDeleteConfigureInfo(Long companyId,Integer id);


	/**
	 * 代扣列表
	 */
	List<EntityXfChannelInfo> getSignChannelList(Long companyId,Integer payWay);


	/**
	 * 公众号充值列表
	 */
	List<GzhPayVo> getGzhPayList(Long companyId, Long merchId ,List<EntityPayChannel> payChannels);

	List<GzhPayVo> getGzhPayList2(Long companyId, Long merchId ,List<EntityPayChannel> payChannels);

}
